package com.cheng.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* <p>
* 账户用户信息表
* </p>
*
* @author 山水一程
* @since 2022-08-11
*/
@Data
@TableName("bt_account_user")
@ApiModel(value = "AccountUser对象", description = "账户用户信息表")
public class AccountUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户编号")
    @TableId("user_id")
    private String userId;

    @ApiModelProperty("用户账号")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("账户密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("真实名称")
    @TableField("real_name")
    private String realName;

    @ApiModelProperty("账号是否可用【1：启用 2：禁用】")
    @TableField("enabled")
    private Integer enabled;

    @ApiModelProperty("用户身份证")
    @TableField("identity_card")
    private String identityCard;

    @ApiModelProperty("用户状态 【1：从业人员 2：解除合同】")
    @TableField("user_status")
    private Integer userStatus;

    @ApiModelProperty("政治面貌")
    @TableField("political_landscape_id")
    private String politicalLandscapeId;

    @ApiModelProperty("入院时间")
    @TableField("admission_time")
    private LocalDateTime admissionTime;

    @ApiModelProperty("用户住址")
    @TableField("address")
    private String address;

    @ApiModelProperty("手机号码")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("用户头像")
    @TableField("user_face")
    private String userFace;

    @ApiModelProperty("机构部门编号")
    @TableField("institutions_id")
    private String institutionsId;

    @ApiModelProperty("逻辑删除 （1：未删除 2：已删除）")
    @TableField("tombstone")
    @TableLogic
    private Integer tombstone;


}